class TsactivityEntity {
	int code;
	List<TsactivityData> data;
	String message;

	TsactivityEntity({this.code, this.data, this.message});

	TsactivityEntity.fromJson(Map<String, dynamic> json) {
		code = json['code'];
		if (json['data'] != null) {
			data = new List<TsactivityData>();(json['data'] as List).forEach((v) { data.add(new TsactivityData.fromJson(v)); });
		}
		message = json['message'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] =  this.data.map((v) => v.toJson()).toList();
    }
		data['message'] = this.message;
		return data;
	}
}

class TsactivityData {
	String explain;
	String startTime;
	String isAll;
	String actiName;
	String endTime;
	String id;
	String pic;

	TsactivityData({this.explain, this.startTime, this.isAll, this.actiName, this.endTime, this.id, this.pic});

	TsactivityData.fromJson(Map<String, dynamic> json) {
		explain = json['explain'];
		startTime = json['start_time'];
		isAll = json['is_all'];
		actiName = json['acti_name'];
		endTime = json['end_time'];
		id = json['id'];
		pic = json['pic'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['explain'] = this.explain;
		data['start_time'] = this.startTime;
		data['is_all'] = this.isAll;
		data['acti_name'] = this.actiName;
		data['end_time'] = this.endTime;
		data['id'] = this.id;
		data['pic'] = this.pic;
		return data;
	}
}
